package com.ruoyi.web.utils.qg_pay.entity.request;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.web.enums.HttpMethodEnum;
import com.ruoyi.web.utils.qg_pay.anno.QGPayHttpConfig;
import com.ruoyi.web.utils.qg_pay.entity.QGPayCommonRequestParam;
import com.ruoyi.web.utils.qg_pay.entity.response.QGPaySingleQueryRes;
import lombok.Data;

/**
 * 代付查单
 *
 * @since 2023/3/14 14:28
 */
@Data
@QGPayHttpConfig(url = "/singleQuery",
        method = HttpMethodEnum.POST,
        needSignature = true,
        responseType = QGPaySingleQueryRes.class)
public class QGPaySingleQuery extends QGPayCommonRequestParam<Object, QGPaySingleQuery> {

    /**
     * 商户号
     */
    private String merNo;

    /**
     * 商户订单号
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long merOrderNo;

    /**
     * 签名
     */
    private String sign;
}
